package com.achao.javabean.entity;

import java.io.Serializable;

/**
 * (Train)实体类
 *
 * @author makejava
 * @since 2022-07-26 13:53:35
 */
public class Train implements Serializable {
    private static final long serialVersionUID = 547627661942923263L;
    /**
     * 主键
     */
    private Integer id;
    /**
     * 动车名称
     */
    private String trainName;
    /**
     * 动车类型
     */
    private Integer trainType;
    /**
     * 动车车厢
     */
    private Integer trainNum;
    /**
     * 运行状态: 0: 候车 1: 发车
     */
    private Integer status;
    /**
     * 座位表id
     */
    private Integer seatId;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTrainName() {
        return trainName;
    }

    public void setTrainName(String trainName) {
        this.trainName = trainName;
    }

    public Integer getTrainType() {
        return trainType;
    }

    public void setTrainType(Integer trainType) {
        this.trainType = trainType;
    }

    public Integer getTrainNum() {
        return trainNum;
    }

    public void setTrainNum(Integer trainNum) {
        this.trainNum = trainNum;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getSeatId() {
        return seatId;
    }

    public void setSeatId(Integer seatId) {
        this.seatId = seatId;
    }

}

